<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>Amigo Burbuja: Referencia de la Clase Patricio</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Amigo Burbuja
   &#160;<span id="projectnumber">25 de mayo del 2013</span>
   </div>
   <div id="projectbrief">Ayuda a nuestro amigo Patricio a salir del fondo del cañon</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generado por Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Página&#160;principal</span></a></li>
      <li class="current"><a href="annotated.html"><span>Clases</span></a></li>
      <li><a href="files.html"><span>Archivos</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Buscar" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Lista&#160;de&#160;clases</span></a></li>
      <li><a href="classes.html"><span>Índice&#160;de&#160;clases</span></a></li>
      <li><a href="hierarchy.html"><span>Jerarquía&#160;de&#160;la&#160;clase</span></a></li>
      <li><a href="functions.html"><span>Miembros&#160;de&#160;las&#160;clases</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_patricio.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Todo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Clases</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Archivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funciones</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Métodos públicos</a> &#124;
<a href="class_patricio-members.html">Lista de todos los miembros</a>  </div>
  <div class="headertitle">
<div class="title">Referencia de la Clase Patricio</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Diagrama de herencias de Patricio</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_patricio.png" usemap="#Patricio_map" alt=""/>
  <map id="Patricio_map" name="Patricio_map">
<area href="class_objeto_sube.html" alt="ObjetoSube" shape="rect" coords="0,56,78,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Métodos públicos</h2></td></tr>
<tr class="memitem:a5d59e42f276cc76374dea8bcdd62c9af"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_patricio.html#a5d59e42f276cc76374dea8bcdd62c9af">Patricio</a> ()</td></tr>
<tr class="separator:a5d59e42f276cc76374dea8bcdd62c9af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6e9cd1691880ee6c7fdcf2e35f434d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_patricio.html#af6e9cd1691880ee6c7fdcf2e35f434d9">act</a> ()</td></tr>
<tr class="separator:af6e9cd1691880ee6c7fdcf2e35f434d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f27deb467412bc033067767d18b06fa"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_patricio.html#a6f27deb467412bc033067767d18b06fa">mueve</a> (int sub)</td></tr>
<tr class="separator:a6f27deb467412bc033067767d18b06fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f4fd2f258d7382d1a83ea93980c1b1e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_patricio.html#a1f4fd2f258d7382d1a83ea93980c1b1e">caePatricio</a> ()</td></tr>
<tr class="separator:a1f4fd2f258d7382d1a83ea93980c1b1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa82101df7af4858fb5f5f1b1bcac342d"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_patricio.html#aa82101df7af4858fb5f5f1b1bcac342d">noSeEncuetraGlobo</a> ()</td></tr>
<tr class="separator:aa82101df7af4858fb5f5f1b1bcac342d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a428b9470ccc8f8e6d98d334afa86afa1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_patricio.html#a428b9470ccc8f8e6d98d334afa86afa1">detenPatricio</a> ()</td></tr>
<tr class="separator:a428b9470ccc8f8e6d98d334afa86afa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab970af130120f6224789db1a4801ce13"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_patricio.html#ab970af130120f6224789db1a4801ce13">sigueSubiendoPat</a> ()</td></tr>
<tr class="separator:ab970af130120f6224789db1a4801ce13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad25fd9059632307ae3f3c66948ec184f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_patricio.html#ad25fd9059632307ae3f3c66948ec184f">recibeGlobo</a> (<a class="el" href="class_globito.html">Globito</a> unGlobo, <a class="el" href="class_globito.html">Globito</a> dosGlobo)</td></tr>
<tr class="separator:ad25fd9059632307ae3f3c66948ec184f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e112dd1e63dd0316a97e1b9ec56aa6b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_patricio.html#a9e112dd1e63dd0316a97e1b9ec56aa6b">eliminaleGlobo</a> (<a class="el" href="class_globito.html">Globito</a> globo)</td></tr>
<tr class="separator:a9e112dd1e63dd0316a97e1b9ec56aa6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_objeto_sube"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_objeto_sube')"><img src="closed.png" alt="-"/>&#160;Métodos públicos heredados desde <a class="el" href="class_objeto_sube.html">ObjetoSube</a></td></tr>
<tr class="memitem:a4b5d4e87c960bf12629b81cef955a8fa inherit pub_methods_class_objeto_sube"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_objeto_sube.html#a4b5d4e87c960bf12629b81cef955a8fa">subir</a> ()</td></tr>
<tr class="separator:a4b5d4e87c960bf12629b81cef955a8fa inherit pub_methods_class_objeto_sube"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21b0c98372c740fe0237c6634cd6d581 inherit pub_methods_class_objeto_sube"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_objeto_sube.html#a21b0c98372c740fe0237c6634cd6d581">subir</a> (int unDato)</td></tr>
<tr class="separator:a21b0c98372c740fe0237c6634cd6d581 inherit pub_methods_class_objeto_sube"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Descripción detallada</h2>
<div class="textblock"><p><a class="el" href="class_patricio.html">Patricio</a> Clase encargada de nuestro Jugador.</p>
<dl class="section author"><dt>Autor</dt><dd>Montes Alonso Irli Natali </dd></dl>
<dl class="section version"><dt>Versión</dt><dd>Programacion Orientada a Objetos </dd></dl>
</div><h2 class="groupheader">Documentación del constructor y destructor</h2>
<a class="anchor" id="a5d59e42f276cc76374dea8bcdd62c9af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Patricio.Patricio </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor de la clase <a class="el" href="class_patricio.html">Patricio</a> </p>
<div class="fragment"><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;    {</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;        <a class="code" href="class_objeto_sube.html#a4b5d4e87c960bf12629b81cef955a8fa">subir</a>(1);</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;        globo1=null;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;        globo2=null;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Documentación de las funciones miembro</h2>
<a class="anchor" id="af6e9cd1691880ee6c7fdcf2e35f434d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Patricio.act </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Metodo de actua, mientras patricio encuentre al menos 1 globo se movera hacia arriba de lo contrario caera. </p>
<div class="fragment"><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    {</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;        <span class="keywordflow">if</span>(!<a class="code" href="class_patricio.html#aa82101df7af4858fb5f5f1b1bcac342d">noSeEncuetraGlobo</a>())</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;            <a class="code" href="class_patricio.html#a6f27deb467412bc033067767d18b06fa">mueve</a>(<a class="code" href="class_objeto_sube.html#a4b5d4e87c960bf12629b81cef955a8fa">subir</a>());</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;        <a class="code" href="class_patricio.html#a1f4fd2f258d7382d1a83ea93980c1b1e">caePatricio</a>();</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    }  </div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a1f4fd2f258d7382d1a83ea93980c1b1e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Patricio.caePatricio </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Metodo para hacer caer a patricio siempre y cuando ya no se encuentre un globo, y que su posicion en y sea mayor a 0 si se cumple se cambia imagen por una de sorpresa </p>
<dl class="section return"><dt>Devuelve</dt><dd>cantidad, regresa la posicion en Y de patricio </dd></dl>
<div class="fragment"><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    {</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;        <span class="keywordtype">int</span> posicionY;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;        <span class="keywordtype">int</span> baja=1,cantidad=0;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        <span class="keywordflow">if</span>(<a class="code" href="class_patricio.html#aa82101df7af4858fb5f5f1b1bcac342d">noSeEncuetraGlobo</a>())</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;        {     <span class="keywordflow">if</span>(getY()&gt;=0)</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;            {</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;                cantidad=(getY()+baja);</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;                this.setImage(<span class="stringliteral">&quot;sorprendido.png&quot;</span>);</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;                setLocation(getX(),cantidad);</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;                <span class="keywordflow">if</span>(getY()==399)</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;                {</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;                    World mundo = super.getWorld();</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;                    ((<a class="code" href="class_fondo.html">Fondo</a>)mundo).reiniciaNivel();</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;                }</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;            }</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;        }</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        <span class="keywordflow">return</span> cantidad;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a428b9470ccc8f8e6d98d334afa86afa1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Patricio.detenPatricio </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Iguala la variable subir a 0 eso hara que patricio ya no siga subiendo </p>
<div class="fragment"><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    {</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;        <a class="code" href="class_objeto_sube.html#a4b5d4e87c960bf12629b81cef955a8fa">subir</a>(0);</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a9e112dd1e63dd0316a97e1b9ec56aa6b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Patricio.eliminaleGlobo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_globito.html">Globito</a>&#160;</td>
          <td class="paramname"><em>globo</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Metodo para eliminar los globos </p>
<dl class="params"><dt>Parámetros</dt><dd>
  <table class="params">
    <tr><td class="paramname">globo</td><td>referencia al globo el cual se eliminara </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    {</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;        <span class="keywordflow">if</span>(globo==globo1)</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;        {</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;            globo1=null;</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;        }</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        {</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;            <span class="keywordflow">if</span>(globo==globo2)</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;            {</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;                globo2=null;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;            }</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;        }</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a6f27deb467412bc033067767d18b06fa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Patricio.mueve </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>sub</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Metodo que logra hacer que el patricio se mueva hacia arriba </p>
<dl class="params"><dt>Parámetros</dt><dd>
  <table class="params">
    <tr><td class="paramname">sub</td><td>recibe el numero de posiciones que subira patricio </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Devuelve</dt><dd>0 es un metodo abstracto, en globo se necesitaba que regresara un entero por eso aqui regresamos un 0 para que no afecte en nada </dd></dl>

<p>Implementa <a class="el" href="class_objeto_sube.html#a7de738f515da8d3a587cd5e499aa35d0">ObjetoSube</a>.</p>
<div class="fragment"><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    {</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        <span class="keywordtype">int</span> sube=sub;<span class="comment">//variable de posiciones que se movera patricio</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;        <span class="keywordflow">if</span>(super.getY()&gt;0)<span class="comment">//mientras la posicion en Y de patricio sea mayor de 0 entra en el if</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        {</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;            sube=(getY()-sube);<span class="comment">// la variable sube se iguala al valor de la posicion en y - los pasos</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;            this.setLocation(getX(),sube);<span class="comment">//se pone el patricio en la posicion en x y y</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;        }</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="aa82101df7af4858fb5f5f1b1bcac342d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean Patricio.noSeEncuetraGlobo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Metodo para ver si patricio no se encontro con un globo </p>
<dl class="section return"><dt>Devuelve</dt><dd>true regresa un true si no se encontro un globo </dd>
<dd>
false regresa un false si se encontro un globo </dd></dl>
<div class="fragment"><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    {</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;        <span class="keywordflow">if</span>(globo1 == null&amp;&amp; globo2==null)</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">false</span>;   </div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="ad25fd9059632307ae3f3c66948ec184f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Patricio.recibeGlobo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_globito.html">Globito</a>&#160;</td>
          <td class="paramname"><em>unGlobo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_globito.html">Globito</a>&#160;</td>
          <td class="paramname"><em>dosGlobo</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Metodo para asignar a las variables de instancia los 2 globos que usara patricio </p>
<dl class="params"><dt>Parámetros</dt><dd>
  <table class="params">
    <tr><td class="paramname">unGlobo</td><td>referencia a un globo </td></tr>
    <tr><td class="paramname">dosGlobo</td><td>referencia a un globo </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    {</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        globo1=unGlobo;</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;        globo2=dosGlobo;</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="ab970af130120f6224789db1a4801ce13"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Patricio.sigueSubiendoPat </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Metodo para iguala la variable subir a 1, eso hara que patricio suba </p>
<div class="fragment"><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    {</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;        <a class="code" href="class_objeto_sube.html#a4b5d4e87c960bf12629b81cef955a8fa">subir</a>(1);</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<hr/>La documentación para esta clase fue generada a partir del siguiente fichero:<ul>
<li>amigoBurbuja/<a class="el" href="_patricio_8java.html">Patricio.java</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_patricio.html">Patricio</a></li>
    <li class="footer">Generado el Sábado, 25 de Mayo de 2013 13:03:42 para Amigo Burbuja por
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.3.1 </li>
  </ul>
</div>
</body>
</html>
